﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ParkingLot.Entitys
{
    /// <summary>
    /// Key-Value形式 可用作Combobox赋值
    /// </summary>
    /// <typeparam name="TValue"></typeparam>
    /// <typeparam name="TDiaplay"></typeparam>
    [Serializable]
    public class OrderPare<TValue,TDiaplay>:ViewModelBase
   {
        #region 字段
        private TValue _mValueMember;

        public TValue ValueMember
        {
            get { return _mValueMember; }
            set
            {
                _mValueMember = value;
                this.RaisePropertyChanged(() => ValueMember);
            }
        }

        private TDiaplay m_DisplayMember;

        public TDiaplay DisplayMember
        {
            get { return m_DisplayMember; }
            set
            {
                m_DisplayMember = value;
                this.RaisePropertyChanged(() => DisplayMember);
            }
        }
        #endregion

      


    }
}
